/*
 *----------------------------------------------
 * page define
 *---------------------------------------------
 */
@base-font-size: 15px;
body {
    margin: 0;
    padding: 0;
    background-color: rgba(240,240,240,0.8);
    font-family: sans-serif; // 1
    font-size: @base-font-size;
    text-size-adjust: 100%; // 2
    //    max-width: 1024px;
}

.container {
    margin: 0 auto;
    width: 88%;
}

footer, .footer {
    margin: 2% auto;
}

a {
    text-decoration: none;
    .jk-text-info;
}
ul {
    list-style-type: none;
}

.main {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 1em 2em;
  background-color: rgba(244,244,244,0.69);
}

.back {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px;
  width: 110%;
  background-color: rgba(233,233,233,0.88);
  z-index: 1999;
  a {
     margin-left: 10%;
  }
}

.sidebar-nav {
    padding: 9px 0;
}


/** if use thumbnails, will set all img a max size */
.thumbnail img {
    max-width: 400px;
    max-height: 400px;
}

/** pull out tips background */
#jk_overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    min-height: 100%;
    // opacity: 0.2;
    background: rgba(2,2,2,.92);
    z-index: 1000;
}

#jk_confirm {
    position: absolute;
    border-radius: 10px;
    padding: 1em;
    opacity: 0.8;
    background-color: rgba(0,0,0, 0.9);
    z-index: 3000;
    box-shadow: inset 0px 0px 15px #0BFA9A;
    h4 {
        color: red;
    }
}

.jk-layout-show {
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
    outline: none;
    padding: 1em;
    min-height: 300px;
    min-width: 600px;
}

/* for close button */
.close {
    border: 0;
    border-radius: 20px;
    color: rgba(255, 0, 0, 0.5);
    font-size: 120%;
    &:hover {
        cursor: pointer;
        color: red;
    }
}

/* pull out dialog */
.item-common {
    width: 88%;
    min-width: 600px;
    height:80%;
    box-shadow: 0px 0px 20px #06080E;
    border-radius: 10px;
    padding: 1em;
    background-color: rgba(250,250,250,0.8);
    .title {
        border-bottom: 1px dotted black;
        padding-bottom: 1em;
        margin-left: 2em;
        float: left;
        width: 90%;
    }
    section {
        width:96%;
        height:74%;
        margin: auto;
        overflow: auto;
        textarea {
          border:none;
          margin-top:0.3em;
          // width: 100%;
          height: 100%;
          max-width: 100%;
          max-height: 100%;
          padding: 8px;
          // text-align: center;
          border-radius: 10px;
          line-height: 24px;
          font-size: medium;
        }
    }
    .close-up {
        color: red;
        float: left;
        margin-top: 1em;
        // margin-right: 2em;
        // margin-bottom: 4em;
    }
    .close-bottom {
        float: right;
        margin-right: 2em;
        padding-bottom: -1em;
    }
}

.jkcenter_absolute {
    position: absolute;
    margin: auto;
    top: 0;
    right:0;
    left:0;
    bottom:0;
}

/**
 *===========================
 * main nav bar
 *===========================
 */
ul.mainnav {                                                                                            
  position:fixed;
  margin:0 auto;
  padding:0 10px;
  top:0px;
  left:30%;
  z-index:9999;
  height:5.2em;
  border-radius:0px 0px 10px 10px;
  li {
    float:left;
    margin-left:0.5em;
    margin-right:0.5em;
    height:2.8000000000000003em;
    a { 
      display:block;
      margin-top:-2px;
      width:90px;
      padding-top:40px;
      padding-bottom:5px;
      text-align:center;
      background-color:#CFCFCF;
      background-repeat:no-repeat;
      background-position:center center;
      border:1px solid #AFAFAF;
      border-radius:0px 0px 10px 10px;
      box-shadow:0px 2px 3px #789;
      opacity:0.6;
      //filter:progid:dximagetransform.microsoft.alpha(opacity=60);
    }
  }
}

/*
 * div content text
 * jk-input-text-none for first is uneditable
 */
.jk-input-text {
    box-shadow: inset 0px 0px 4px #abc;
    border: 1px inset rgba(238,238,238,0.8);
    background-color: white;
    padding: 6px;
    margin: 10px 4px;
    width: 400px;
    max-height: 240px;
    overflow: auto;
    overflow-y: visible;
    overflow-x: hidden;
    word-wrap: break-word;
    outline: none;
    color: black;
    // word-break: break-all;
    line-height: 24px;
    border-radius: 5px;

    .tips {
        font-size: 92%;
        font-style: italic;
        color: gray;
    }
}

.jk-input-text-none {
    .jk-input-text;
    background-color: rgba(242,242,242,0.9);
}


.extern-brower {
  background-color: rgba(222,233,200,0.9);
  ul li {
    float: left;
        padding: 4px;
        margin: 2px;
  }
}



/* there are two time display
 * first hide time2
 */
.time1,.time2,.time {
    width: 140px;
    font-size: 80%;
}

.time2 {
    display: none;
}

